package com.github.jcooky.structure;

public interface Queue extends Collection {
	class EmptyQueueException extends Exception {
	}
	class FullQueueException extends Exception {
	}
	
	int size();
	boolean isEmpty();
	Object front() throws EmptyQueueException;
	void enqueue(Object o) throws FullQueueException;
	Object dequeue() throws EmptyQueueException;
}
